//
//  ZYStatusNormalCell.swift
//  weibo007
//
//  Created by 陈宗毅 on 15/12/22.
//  Copyright © 2015年 czy. All rights reserved.
//

import UIKit

class ZYStatusNormalCell: ZYStatusCell {

  override  func preapreUI() {
        super.preapreUI()
        //微博配图
    let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel, size: CGSize(width: 290, height: 290), offset: CGPoint(x: 0, y: 8))
    // 获取微博配图视图的宽高约束
    // 注意: 设置约束的时候需要设置 size， 不然框架不会添加宽高约束,拿不到宽高约束
    pictureViewHeightCon = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
    pictureViewWidthCon = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
    
    }

}
